package com.xctech.ipb.dpn.hyc.model.req;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class OrderReq {

    @NotNull(message = "订单数量不能为空")
    private Long listSize;

    @NotEmpty(message = "订单信息列表不能为空")
    private List<OrderInfoReq> orderInfoList;
}
